package com.huazhi.wzsnw.service;

import com.huazhi.wzsnw.model.Circuit;
import com.alibaba.fastjson.JSONObject;
import com.huazhi.wzsnw.model.CurcuitTj;

import javax.servlet.http.HttpServletRequest;
import java.util.Date;
import java.util.List;

public interface CircuitService {
    public Circuit selectByPrimaryKey(String tid);
    public int insert(Circuit record);
    List<String> getCircuitList(String key, Circuit circuit);
    public int delete(Circuit record);
    public int deletes(List<Circuit> records);
    public int update(Circuit record);
    public Circuit findByTid(String tid);
    JSONObject getCircuitListOne(HttpServletRequest request);
    List<String> getSearchCircuitList(HttpServletRequest request);
    //public List<String> selectCircuitList(String key, Circuit circuit);
    public List<Circuit> getListCircuitByListTid(List<String> stringList, Integer pageIndex, Integer pageSize);
     List<Date> selectXcDate(String zrc);

     List<Circuit> seleByXcrq(String xcrq);

     List<CurcuitTj> sleletongji(Circuit circuit);

}
